package com.rongxue.pojo;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class SUserDueDetailExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public SUserDueDetailExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Long value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Long value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Long value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Long value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Long value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Long> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Long> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Long value1, Long value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Long value1, Long value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andProjectIdIsNull() {
            addCriterion("project_id is null");
            return (Criteria) this;
        }

        public Criteria andProjectIdIsNotNull() {
            addCriterion("project_id is not null");
            return (Criteria) this;
        }

        public Criteria andProjectIdEqualTo(Long value) {
            addCriterion("project_id =", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdNotEqualTo(Long value) {
            addCriterion("project_id <>", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdGreaterThan(Long value) {
            addCriterion("project_id >", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdGreaterThanOrEqualTo(Long value) {
            addCriterion("project_id >=", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdLessThan(Long value) {
            addCriterion("project_id <", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdLessThanOrEqualTo(Long value) {
            addCriterion("project_id <=", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdIn(List<Long> values) {
            addCriterion("project_id in", values, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdNotIn(List<Long> values) {
            addCriterion("project_id not in", values, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdBetween(Long value1, Long value2) {
            addCriterion("project_id between", value1, value2, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdNotBetween(Long value1, Long value2) {
            addCriterion("project_id not between", value1, value2, "projectId");
            return (Criteria) this;
        }

        public Criteria andRepayIdIsNull() {
            addCriterion("repay_id is null");
            return (Criteria) this;
        }

        public Criteria andRepayIdIsNotNull() {
            addCriterion("repay_id is not null");
            return (Criteria) this;
        }

        public Criteria andRepayIdEqualTo(Long value) {
            addCriterion("repay_id =", value, "repayId");
            return (Criteria) this;
        }

        public Criteria andRepayIdNotEqualTo(Long value) {
            addCriterion("repay_id <>", value, "repayId");
            return (Criteria) this;
        }

        public Criteria andRepayIdGreaterThan(Long value) {
            addCriterion("repay_id >", value, "repayId");
            return (Criteria) this;
        }

        public Criteria andRepayIdGreaterThanOrEqualTo(Long value) {
            addCriterion("repay_id >=", value, "repayId");
            return (Criteria) this;
        }

        public Criteria andRepayIdLessThan(Long value) {
            addCriterion("repay_id <", value, "repayId");
            return (Criteria) this;
        }

        public Criteria andRepayIdLessThanOrEqualTo(Long value) {
            addCriterion("repay_id <=", value, "repayId");
            return (Criteria) this;
        }

        public Criteria andRepayIdIn(List<Long> values) {
            addCriterion("repay_id in", values, "repayId");
            return (Criteria) this;
        }

        public Criteria andRepayIdNotIn(List<Long> values) {
            addCriterion("repay_id not in", values, "repayId");
            return (Criteria) this;
        }

        public Criteria andRepayIdBetween(Long value1, Long value2) {
            addCriterion("repay_id between", value1, value2, "repayId");
            return (Criteria) this;
        }

        public Criteria andRepayIdNotBetween(Long value1, Long value2) {
            addCriterion("repay_id not between", value1, value2, "repayId");
            return (Criteria) this;
        }

        public Criteria andInvestDetailIdIsNull() {
            addCriterion("invest_detail_id is null");
            return (Criteria) this;
        }

        public Criteria andInvestDetailIdIsNotNull() {
            addCriterion("invest_detail_id is not null");
            return (Criteria) this;
        }

        public Criteria andInvestDetailIdEqualTo(Long value) {
            addCriterion("invest_detail_id =", value, "investDetailId");
            return (Criteria) this;
        }

        public Criteria andInvestDetailIdNotEqualTo(Long value) {
            addCriterion("invest_detail_id <>", value, "investDetailId");
            return (Criteria) this;
        }

        public Criteria andInvestDetailIdGreaterThan(Long value) {
            addCriterion("invest_detail_id >", value, "investDetailId");
            return (Criteria) this;
        }

        public Criteria andInvestDetailIdGreaterThanOrEqualTo(Long value) {
            addCriterion("invest_detail_id >=", value, "investDetailId");
            return (Criteria) this;
        }

        public Criteria andInvestDetailIdLessThan(Long value) {
            addCriterion("invest_detail_id <", value, "investDetailId");
            return (Criteria) this;
        }

        public Criteria andInvestDetailIdLessThanOrEqualTo(Long value) {
            addCriterion("invest_detail_id <=", value, "investDetailId");
            return (Criteria) this;
        }

        public Criteria andInvestDetailIdIn(List<Long> values) {
            addCriterion("invest_detail_id in", values, "investDetailId");
            return (Criteria) this;
        }

        public Criteria andInvestDetailIdNotIn(List<Long> values) {
            addCriterion("invest_detail_id not in", values, "investDetailId");
            return (Criteria) this;
        }

        public Criteria andInvestDetailIdBetween(Long value1, Long value2) {
            addCriterion("invest_detail_id between", value1, value2, "investDetailId");
            return (Criteria) this;
        }

        public Criteria andInvestDetailIdNotBetween(Long value1, Long value2) {
            addCriterion("invest_detail_id not between", value1, value2, "investDetailId");
            return (Criteria) this;
        }

        public Criteria andDueAmountIsNull() {
            addCriterion("due_amount is null");
            return (Criteria) this;
        }

        public Criteria andDueAmountIsNotNull() {
            addCriterion("due_amount is not null");
            return (Criteria) this;
        }

        public Criteria andDueAmountEqualTo(BigDecimal value) {
            addCriterion("due_amount =", value, "dueAmount");
            return (Criteria) this;
        }

        public Criteria andDueAmountNotEqualTo(BigDecimal value) {
            addCriterion("due_amount <>", value, "dueAmount");
            return (Criteria) this;
        }

        public Criteria andDueAmountGreaterThan(BigDecimal value) {
            addCriterion("due_amount >", value, "dueAmount");
            return (Criteria) this;
        }

        public Criteria andDueAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("due_amount >=", value, "dueAmount");
            return (Criteria) this;
        }

        public Criteria andDueAmountLessThan(BigDecimal value) {
            addCriterion("due_amount <", value, "dueAmount");
            return (Criteria) this;
        }

        public Criteria andDueAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("due_amount <=", value, "dueAmount");
            return (Criteria) this;
        }

        public Criteria andDueAmountIn(List<BigDecimal> values) {
            addCriterion("due_amount in", values, "dueAmount");
            return (Criteria) this;
        }

        public Criteria andDueAmountNotIn(List<BigDecimal> values) {
            addCriterion("due_amount not in", values, "dueAmount");
            return (Criteria) this;
        }

        public Criteria andDueAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("due_amount between", value1, value2, "dueAmount");
            return (Criteria) this;
        }

        public Criteria andDueAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("due_amount not between", value1, value2, "dueAmount");
            return (Criteria) this;
        }

        public Criteria andDueCapitalIsNull() {
            addCriterion("due_capital is null");
            return (Criteria) this;
        }

        public Criteria andDueCapitalIsNotNull() {
            addCriterion("due_capital is not null");
            return (Criteria) this;
        }

        public Criteria andDueCapitalEqualTo(BigDecimal value) {
            addCriterion("due_capital =", value, "dueCapital");
            return (Criteria) this;
        }

        public Criteria andDueCapitalNotEqualTo(BigDecimal value) {
            addCriterion("due_capital <>", value, "dueCapital");
            return (Criteria) this;
        }

        public Criteria andDueCapitalGreaterThan(BigDecimal value) {
            addCriterion("due_capital >", value, "dueCapital");
            return (Criteria) this;
        }

        public Criteria andDueCapitalGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("due_capital >=", value, "dueCapital");
            return (Criteria) this;
        }

        public Criteria andDueCapitalLessThan(BigDecimal value) {
            addCriterion("due_capital <", value, "dueCapital");
            return (Criteria) this;
        }

        public Criteria andDueCapitalLessThanOrEqualTo(BigDecimal value) {
            addCriterion("due_capital <=", value, "dueCapital");
            return (Criteria) this;
        }

        public Criteria andDueCapitalIn(List<BigDecimal> values) {
            addCriterion("due_capital in", values, "dueCapital");
            return (Criteria) this;
        }

        public Criteria andDueCapitalNotIn(List<BigDecimal> values) {
            addCriterion("due_capital not in", values, "dueCapital");
            return (Criteria) this;
        }

        public Criteria andDueCapitalBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("due_capital between", value1, value2, "dueCapital");
            return (Criteria) this;
        }

        public Criteria andDueCapitalNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("due_capital not between", value1, value2, "dueCapital");
            return (Criteria) this;
        }

        public Criteria andDueInterestIsNull() {
            addCriterion("due_interest is null");
            return (Criteria) this;
        }

        public Criteria andDueInterestIsNotNull() {
            addCriterion("due_interest is not null");
            return (Criteria) this;
        }

        public Criteria andDueInterestEqualTo(BigDecimal value) {
            addCriterion("due_interest =", value, "dueInterest");
            return (Criteria) this;
        }

        public Criteria andDueInterestNotEqualTo(BigDecimal value) {
            addCriterion("due_interest <>", value, "dueInterest");
            return (Criteria) this;
        }

        public Criteria andDueInterestGreaterThan(BigDecimal value) {
            addCriterion("due_interest >", value, "dueInterest");
            return (Criteria) this;
        }

        public Criteria andDueInterestGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("due_interest >=", value, "dueInterest");
            return (Criteria) this;
        }

        public Criteria andDueInterestLessThan(BigDecimal value) {
            addCriterion("due_interest <", value, "dueInterest");
            return (Criteria) this;
        }

        public Criteria andDueInterestLessThanOrEqualTo(BigDecimal value) {
            addCriterion("due_interest <=", value, "dueInterest");
            return (Criteria) this;
        }

        public Criteria andDueInterestIn(List<BigDecimal> values) {
            addCriterion("due_interest in", values, "dueInterest");
            return (Criteria) this;
        }

        public Criteria andDueInterestNotIn(List<BigDecimal> values) {
            addCriterion("due_interest not in", values, "dueInterest");
            return (Criteria) this;
        }

        public Criteria andDueInterestBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("due_interest between", value1, value2, "dueInterest");
            return (Criteria) this;
        }

        public Criteria andDueInterestNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("due_interest not between", value1, value2, "dueInterest");
            return (Criteria) this;
        }

        public Criteria andPeriodIsNull() {
            addCriterion("period is null");
            return (Criteria) this;
        }

        public Criteria andPeriodIsNotNull() {
            addCriterion("period is not null");
            return (Criteria) this;
        }

        public Criteria andPeriodEqualTo(Integer value) {
            addCriterion("period =", value, "period");
            return (Criteria) this;
        }

        public Criteria andPeriodNotEqualTo(Integer value) {
            addCriterion("period <>", value, "period");
            return (Criteria) this;
        }

        public Criteria andPeriodGreaterThan(Integer value) {
            addCriterion("period >", value, "period");
            return (Criteria) this;
        }

        public Criteria andPeriodGreaterThanOrEqualTo(Integer value) {
            addCriterion("period >=", value, "period");
            return (Criteria) this;
        }

        public Criteria andPeriodLessThan(Integer value) {
            addCriterion("period <", value, "period");
            return (Criteria) this;
        }

        public Criteria andPeriodLessThanOrEqualTo(Integer value) {
            addCriterion("period <=", value, "period");
            return (Criteria) this;
        }

        public Criteria andPeriodIn(List<Integer> values) {
            addCriterion("period in", values, "period");
            return (Criteria) this;
        }

        public Criteria andPeriodNotIn(List<Integer> values) {
            addCriterion("period not in", values, "period");
            return (Criteria) this;
        }

        public Criteria andPeriodBetween(Integer value1, Integer value2) {
            addCriterion("period between", value1, value2, "period");
            return (Criteria) this;
        }

        public Criteria andPeriodNotBetween(Integer value1, Integer value2) {
            addCriterion("period not between", value1, value2, "period");
            return (Criteria) this;
        }

        public Criteria andDurationDayIsNull() {
            addCriterion("duration_day is null");
            return (Criteria) this;
        }

        public Criteria andDurationDayIsNotNull() {
            addCriterion("duration_day is not null");
            return (Criteria) this;
        }

        public Criteria andDurationDayEqualTo(Integer value) {
            addCriterion("duration_day =", value, "durationDay");
            return (Criteria) this;
        }

        public Criteria andDurationDayNotEqualTo(Integer value) {
            addCriterion("duration_day <>", value, "durationDay");
            return (Criteria) this;
        }

        public Criteria andDurationDayGreaterThan(Integer value) {
            addCriterion("duration_day >", value, "durationDay");
            return (Criteria) this;
        }

        public Criteria andDurationDayGreaterThanOrEqualTo(Integer value) {
            addCriterion("duration_day >=", value, "durationDay");
            return (Criteria) this;
        }

        public Criteria andDurationDayLessThan(Integer value) {
            addCriterion("duration_day <", value, "durationDay");
            return (Criteria) this;
        }

        public Criteria andDurationDayLessThanOrEqualTo(Integer value) {
            addCriterion("duration_day <=", value, "durationDay");
            return (Criteria) this;
        }

        public Criteria andDurationDayIn(List<Integer> values) {
            addCriterion("duration_day in", values, "durationDay");
            return (Criteria) this;
        }

        public Criteria andDurationDayNotIn(List<Integer> values) {
            addCriterion("duration_day not in", values, "durationDay");
            return (Criteria) this;
        }

        public Criteria andDurationDayBetween(Integer value1, Integer value2) {
            addCriterion("duration_day between", value1, value2, "durationDay");
            return (Criteria) this;
        }

        public Criteria andDurationDayNotBetween(Integer value1, Integer value2) {
            addCriterion("duration_day not between", value1, value2, "durationDay");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNull() {
            addCriterion("start_time is null");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNotNull() {
            addCriterion("start_time is not null");
            return (Criteria) this;
        }

        public Criteria andStartTimeEqualTo(Date value) {
            addCriterion("start_time =", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotEqualTo(Date value) {
            addCriterion("start_time <>", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThan(Date value) {
            addCriterion("start_time >", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("start_time >=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThan(Date value) {
            addCriterion("start_time <", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThanOrEqualTo(Date value) {
            addCriterion("start_time <=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeIn(List<Date> values) {
            addCriterion("start_time in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotIn(List<Date> values) {
            addCriterion("start_time not in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeBetween(Date value1, Date value2) {
            addCriterion("start_time between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotBetween(Date value1, Date value2) {
            addCriterion("start_time not between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andDueTimeIsNull() {
            addCriterion("due_time is null");
            return (Criteria) this;
        }

        public Criteria andDueTimeIsNotNull() {
            addCriterion("due_time is not null");
            return (Criteria) this;
        }

        public Criteria andDueTimeEqualTo(Date value) {
            addCriterion("due_time =", value, "dueTime");
            return (Criteria) this;
        }

        public Criteria andDueTimeNotEqualTo(Date value) {
            addCriterion("due_time <>", value, "dueTime");
            return (Criteria) this;
        }

        public Criteria andDueTimeGreaterThan(Date value) {
            addCriterion("due_time >", value, "dueTime");
            return (Criteria) this;
        }

        public Criteria andDueTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("due_time >=", value, "dueTime");
            return (Criteria) this;
        }

        public Criteria andDueTimeLessThan(Date value) {
            addCriterion("due_time <", value, "dueTime");
            return (Criteria) this;
        }

        public Criteria andDueTimeLessThanOrEqualTo(Date value) {
            addCriterion("due_time <=", value, "dueTime");
            return (Criteria) this;
        }

        public Criteria andDueTimeIn(List<Date> values) {
            addCriterion("due_time in", values, "dueTime");
            return (Criteria) this;
        }

        public Criteria andDueTimeNotIn(List<Date> values) {
            addCriterion("due_time not in", values, "dueTime");
            return (Criteria) this;
        }

        public Criteria andDueTimeBetween(Date value1, Date value2) {
            addCriterion("due_time between", value1, value2, "dueTime");
            return (Criteria) this;
        }

        public Criteria andDueTimeNotBetween(Date value1, Date value2) {
            addCriterion("due_time not between", value1, value2, "dueTime");
            return (Criteria) this;
        }

        public Criteria andRealTimeIsNull() {
            addCriterion("real_time is null");
            return (Criteria) this;
        }

        public Criteria andRealTimeIsNotNull() {
            addCriterion("real_time is not null");
            return (Criteria) this;
        }

        public Criteria andRealTimeEqualTo(Date value) {
            addCriterion("real_time =", value, "realTime");
            return (Criteria) this;
        }

        public Criteria andRealTimeNotEqualTo(Date value) {
            addCriterion("real_time <>", value, "realTime");
            return (Criteria) this;
        }

        public Criteria andRealTimeGreaterThan(Date value) {
            addCriterion("real_time >", value, "realTime");
            return (Criteria) this;
        }

        public Criteria andRealTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("real_time >=", value, "realTime");
            return (Criteria) this;
        }

        public Criteria andRealTimeLessThan(Date value) {
            addCriterion("real_time <", value, "realTime");
            return (Criteria) this;
        }

        public Criteria andRealTimeLessThanOrEqualTo(Date value) {
            addCriterion("real_time <=", value, "realTime");
            return (Criteria) this;
        }

        public Criteria andRealTimeIn(List<Date> values) {
            addCriterion("real_time in", values, "realTime");
            return (Criteria) this;
        }

        public Criteria andRealTimeNotIn(List<Date> values) {
            addCriterion("real_time not in", values, "realTime");
            return (Criteria) this;
        }

        public Criteria andRealTimeBetween(Date value1, Date value2) {
            addCriterion("real_time between", value1, value2, "realTime");
            return (Criteria) this;
        }

        public Criteria andRealTimeNotBetween(Date value1, Date value2) {
            addCriterion("real_time not between", value1, value2, "realTime");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNewIsNull() {
            addCriterion("status_new is null");
            return (Criteria) this;
        }

        public Criteria andStatusNewIsNotNull() {
            addCriterion("status_new is not null");
            return (Criteria) this;
        }

        public Criteria andStatusNewEqualTo(Integer value) {
            addCriterion("status_new =", value, "statusNew");
            return (Criteria) this;
        }

        public Criteria andStatusNewNotEqualTo(Integer value) {
            addCriterion("status_new <>", value, "statusNew");
            return (Criteria) this;
        }

        public Criteria andStatusNewGreaterThan(Integer value) {
            addCriterion("status_new >", value, "statusNew");
            return (Criteria) this;
        }

        public Criteria andStatusNewGreaterThanOrEqualTo(Integer value) {
            addCriterion("status_new >=", value, "statusNew");
            return (Criteria) this;
        }

        public Criteria andStatusNewLessThan(Integer value) {
            addCriterion("status_new <", value, "statusNew");
            return (Criteria) this;
        }

        public Criteria andStatusNewLessThanOrEqualTo(Integer value) {
            addCriterion("status_new <=", value, "statusNew");
            return (Criteria) this;
        }

        public Criteria andStatusNewIn(List<Integer> values) {
            addCriterion("status_new in", values, "statusNew");
            return (Criteria) this;
        }

        public Criteria andStatusNewNotIn(List<Integer> values) {
            addCriterion("status_new not in", values, "statusNew");
            return (Criteria) this;
        }

        public Criteria andStatusNewBetween(Integer value1, Integer value2) {
            addCriterion("status_new between", value1, value2, "statusNew");
            return (Criteria) this;
        }

        public Criteria andStatusNewNotBetween(Integer value1, Integer value2) {
            addCriterion("status_new not between", value1, value2, "statusNew");
            return (Criteria) this;
        }

        public Criteria andStatus2IsNull() {
            addCriterion("status2 is null");
            return (Criteria) this;
        }

        public Criteria andStatus2IsNotNull() {
            addCriterion("status2 is not null");
            return (Criteria) this;
        }

        public Criteria andStatus2EqualTo(Integer value) {
            addCriterion("status2 =", value, "status2");
            return (Criteria) this;
        }

        public Criteria andStatus2NotEqualTo(Integer value) {
            addCriterion("status2 <>", value, "status2");
            return (Criteria) this;
        }

        public Criteria andStatus2GreaterThan(Integer value) {
            addCriterion("status2 >", value, "status2");
            return (Criteria) this;
        }

        public Criteria andStatus2GreaterThanOrEqualTo(Integer value) {
            addCriterion("status2 >=", value, "status2");
            return (Criteria) this;
        }

        public Criteria andStatus2LessThan(Integer value) {
            addCriterion("status2 <", value, "status2");
            return (Criteria) this;
        }

        public Criteria andStatus2LessThanOrEqualTo(Integer value) {
            addCriterion("status2 <=", value, "status2");
            return (Criteria) this;
        }

        public Criteria andStatus2In(List<Integer> values) {
            addCriterion("status2 in", values, "status2");
            return (Criteria) this;
        }

        public Criteria andStatus2NotIn(List<Integer> values) {
            addCriterion("status2 not in", values, "status2");
            return (Criteria) this;
        }

        public Criteria andStatus2Between(Integer value1, Integer value2) {
            addCriterion("status2 between", value1, value2, "status2");
            return (Criteria) this;
        }

        public Criteria andStatus2NotBetween(Integer value1, Integer value2) {
            addCriterion("status2 not between", value1, value2, "status2");
            return (Criteria) this;
        }

        public Criteria andBowTypeIsNull() {
            addCriterion("bow_type is null");
            return (Criteria) this;
        }

        public Criteria andBowTypeIsNotNull() {
            addCriterion("bow_type is not null");
            return (Criteria) this;
        }

        public Criteria andBowTypeEqualTo(Integer value) {
            addCriterion("bow_type =", value, "bowType");
            return (Criteria) this;
        }

        public Criteria andBowTypeNotEqualTo(Integer value) {
            addCriterion("bow_type <>", value, "bowType");
            return (Criteria) this;
        }

        public Criteria andBowTypeGreaterThan(Integer value) {
            addCriterion("bow_type >", value, "bowType");
            return (Criteria) this;
        }

        public Criteria andBowTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("bow_type >=", value, "bowType");
            return (Criteria) this;
        }

        public Criteria andBowTypeLessThan(Integer value) {
            addCriterion("bow_type <", value, "bowType");
            return (Criteria) this;
        }

        public Criteria andBowTypeLessThanOrEqualTo(Integer value) {
            addCriterion("bow_type <=", value, "bowType");
            return (Criteria) this;
        }

        public Criteria andBowTypeIn(List<Integer> values) {
            addCriterion("bow_type in", values, "bowType");
            return (Criteria) this;
        }

        public Criteria andBowTypeNotIn(List<Integer> values) {
            addCriterion("bow_type not in", values, "bowType");
            return (Criteria) this;
        }

        public Criteria andBowTypeBetween(Integer value1, Integer value2) {
            addCriterion("bow_type between", value1, value2, "bowType");
            return (Criteria) this;
        }

        public Criteria andBowTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("bow_type not between", value1, value2, "bowType");
            return (Criteria) this;
        }

        public Criteria andCardNoIsNull() {
            addCriterion("card_no is null");
            return (Criteria) this;
        }

        public Criteria andCardNoIsNotNull() {
            addCriterion("card_no is not null");
            return (Criteria) this;
        }

        public Criteria andCardNoEqualTo(String value) {
            addCriterion("card_no =", value, "cardNo");
            return (Criteria) this;
        }

        public Criteria andCardNoNotEqualTo(String value) {
            addCriterion("card_no <>", value, "cardNo");
            return (Criteria) this;
        }

        public Criteria andCardNoGreaterThan(String value) {
            addCriterion("card_no >", value, "cardNo");
            return (Criteria) this;
        }

        public Criteria andCardNoGreaterThanOrEqualTo(String value) {
            addCriterion("card_no >=", value, "cardNo");
            return (Criteria) this;
        }

        public Criteria andCardNoLessThan(String value) {
            addCriterion("card_no <", value, "cardNo");
            return (Criteria) this;
        }

        public Criteria andCardNoLessThanOrEqualTo(String value) {
            addCriterion("card_no <=", value, "cardNo");
            return (Criteria) this;
        }

        public Criteria andCardNoLike(String value) {
            addCriterion("card_no like", value, "cardNo");
            return (Criteria) this;
        }

        public Criteria andCardNoNotLike(String value) {
            addCriterion("card_no not like", value, "cardNo");
            return (Criteria) this;
        }

        public Criteria andCardNoIn(List<String> values) {
            addCriterion("card_no in", values, "cardNo");
            return (Criteria) this;
        }

        public Criteria andCardNoNotIn(List<String> values) {
            addCriterion("card_no not in", values, "cardNo");
            return (Criteria) this;
        }

        public Criteria andCardNoBetween(String value1, String value2) {
            addCriterion("card_no between", value1, value2, "cardNo");
            return (Criteria) this;
        }

        public Criteria andCardNoNotBetween(String value1, String value2) {
            addCriterion("card_no not between", value1, value2, "cardNo");
            return (Criteria) this;
        }

        public Criteria andRepaymentNoIsNull() {
            addCriterion("repayment_no is null");
            return (Criteria) this;
        }

        public Criteria andRepaymentNoIsNotNull() {
            addCriterion("repayment_no is not null");
            return (Criteria) this;
        }

        public Criteria andRepaymentNoEqualTo(String value) {
            addCriterion("repayment_no =", value, "repaymentNo");
            return (Criteria) this;
        }

        public Criteria andRepaymentNoNotEqualTo(String value) {
            addCriterion("repayment_no <>", value, "repaymentNo");
            return (Criteria) this;
        }

        public Criteria andRepaymentNoGreaterThan(String value) {
            addCriterion("repayment_no >", value, "repaymentNo");
            return (Criteria) this;
        }

        public Criteria andRepaymentNoGreaterThanOrEqualTo(String value) {
            addCriterion("repayment_no >=", value, "repaymentNo");
            return (Criteria) this;
        }

        public Criteria andRepaymentNoLessThan(String value) {
            addCriterion("repayment_no <", value, "repaymentNo");
            return (Criteria) this;
        }

        public Criteria andRepaymentNoLessThanOrEqualTo(String value) {
            addCriterion("repayment_no <=", value, "repaymentNo");
            return (Criteria) this;
        }

        public Criteria andRepaymentNoLike(String value) {
            addCriterion("repayment_no like", value, "repaymentNo");
            return (Criteria) this;
        }

        public Criteria andRepaymentNoNotLike(String value) {
            addCriterion("repayment_no not like", value, "repaymentNo");
            return (Criteria) this;
        }

        public Criteria andRepaymentNoIn(List<String> values) {
            addCriterion("repayment_no in", values, "repaymentNo");
            return (Criteria) this;
        }

        public Criteria andRepaymentNoNotIn(List<String> values) {
            addCriterion("repayment_no not in", values, "repaymentNo");
            return (Criteria) this;
        }

        public Criteria andRepaymentNoBetween(String value1, String value2) {
            addCriterion("repayment_no between", value1, value2, "repaymentNo");
            return (Criteria) this;
        }

        public Criteria andRepaymentNoNotBetween(String value1, String value2) {
            addCriterion("repayment_no not between", value1, value2, "repaymentNo");
            return (Criteria) this;
        }

        public Criteria andFromWalletIsNull() {
            addCriterion("from_wallet is null");
            return (Criteria) this;
        }

        public Criteria andFromWalletIsNotNull() {
            addCriterion("from_wallet is not null");
            return (Criteria) this;
        }

        public Criteria andFromWalletEqualTo(Integer value) {
            addCriterion("from_wallet =", value, "fromWallet");
            return (Criteria) this;
        }

        public Criteria andFromWalletNotEqualTo(Integer value) {
            addCriterion("from_wallet <>", value, "fromWallet");
            return (Criteria) this;
        }

        public Criteria andFromWalletGreaterThan(Integer value) {
            addCriterion("from_wallet >", value, "fromWallet");
            return (Criteria) this;
        }

        public Criteria andFromWalletGreaterThanOrEqualTo(Integer value) {
            addCriterion("from_wallet >=", value, "fromWallet");
            return (Criteria) this;
        }

        public Criteria andFromWalletLessThan(Integer value) {
            addCriterion("from_wallet <", value, "fromWallet");
            return (Criteria) this;
        }

        public Criteria andFromWalletLessThanOrEqualTo(Integer value) {
            addCriterion("from_wallet <=", value, "fromWallet");
            return (Criteria) this;
        }

        public Criteria andFromWalletIn(List<Integer> values) {
            addCriterion("from_wallet in", values, "fromWallet");
            return (Criteria) this;
        }

        public Criteria andFromWalletNotIn(List<Integer> values) {
            addCriterion("from_wallet not in", values, "fromWallet");
            return (Criteria) this;
        }

        public Criteria andFromWalletBetween(Integer value1, Integer value2) {
            addCriterion("from_wallet between", value1, value2, "fromWallet");
            return (Criteria) this;
        }

        public Criteria andFromWalletNotBetween(Integer value1, Integer value2) {
            addCriterion("from_wallet not between", value1, value2, "fromWallet");
            return (Criteria) this;
        }

        public Criteria andToWalletIsNull() {
            addCriterion("to_wallet is null");
            return (Criteria) this;
        }

        public Criteria andToWalletIsNotNull() {
            addCriterion("to_wallet is not null");
            return (Criteria) this;
        }

        public Criteria andToWalletEqualTo(Integer value) {
            addCriterion("to_wallet =", value, "toWallet");
            return (Criteria) this;
        }

        public Criteria andToWalletNotEqualTo(Integer value) {
            addCriterion("to_wallet <>", value, "toWallet");
            return (Criteria) this;
        }

        public Criteria andToWalletGreaterThan(Integer value) {
            addCriterion("to_wallet >", value, "toWallet");
            return (Criteria) this;
        }

        public Criteria andToWalletGreaterThanOrEqualTo(Integer value) {
            addCriterion("to_wallet >=", value, "toWallet");
            return (Criteria) this;
        }

        public Criteria andToWalletLessThan(Integer value) {
            addCriterion("to_wallet <", value, "toWallet");
            return (Criteria) this;
        }

        public Criteria andToWalletLessThanOrEqualTo(Integer value) {
            addCriterion("to_wallet <=", value, "toWallet");
            return (Criteria) this;
        }

        public Criteria andToWalletIn(List<Integer> values) {
            addCriterion("to_wallet in", values, "toWallet");
            return (Criteria) this;
        }

        public Criteria andToWalletNotIn(List<Integer> values) {
            addCriterion("to_wallet not in", values, "toWallet");
            return (Criteria) this;
        }

        public Criteria andToWalletBetween(Integer value1, Integer value2) {
            addCriterion("to_wallet between", value1, value2, "toWallet");
            return (Criteria) this;
        }

        public Criteria andToWalletNotBetween(Integer value1, Integer value2) {
            addCriterion("to_wallet not between", value1, value2, "toWallet");
            return (Criteria) this;
        }

        public Criteria andSmsStausIsNull() {
            addCriterion("sms_staus is null");
            return (Criteria) this;
        }

        public Criteria andSmsStausIsNotNull() {
            addCriterion("sms_staus is not null");
            return (Criteria) this;
        }

        public Criteria andSmsStausEqualTo(Boolean value) {
            addCriterion("sms_staus =", value, "smsStaus");
            return (Criteria) this;
        }

        public Criteria andSmsStausNotEqualTo(Boolean value) {
            addCriterion("sms_staus <>", value, "smsStaus");
            return (Criteria) this;
        }

        public Criteria andSmsStausGreaterThan(Boolean value) {
            addCriterion("sms_staus >", value, "smsStaus");
            return (Criteria) this;
        }

        public Criteria andSmsStausGreaterThanOrEqualTo(Boolean value) {
            addCriterion("sms_staus >=", value, "smsStaus");
            return (Criteria) this;
        }

        public Criteria andSmsStausLessThan(Boolean value) {
            addCriterion("sms_staus <", value, "smsStaus");
            return (Criteria) this;
        }

        public Criteria andSmsStausLessThanOrEqualTo(Boolean value) {
            addCriterion("sms_staus <=", value, "smsStaus");
            return (Criteria) this;
        }

        public Criteria andSmsStausIn(List<Boolean> values) {
            addCriterion("sms_staus in", values, "smsStaus");
            return (Criteria) this;
        }

        public Criteria andSmsStausNotIn(List<Boolean> values) {
            addCriterion("sms_staus not in", values, "smsStaus");
            return (Criteria) this;
        }

        public Criteria andSmsStausBetween(Boolean value1, Boolean value2) {
            addCriterion("sms_staus between", value1, value2, "smsStaus");
            return (Criteria) this;
        }

        public Criteria andSmsStausNotBetween(Boolean value1, Boolean value2) {
            addCriterion("sms_staus not between", value1, value2, "smsStaus");
            return (Criteria) this;
        }

        public Criteria andSmsMsgidIsNull() {
            addCriterion("sms_msgid is null");
            return (Criteria) this;
        }

        public Criteria andSmsMsgidIsNotNull() {
            addCriterion("sms_msgid is not null");
            return (Criteria) this;
        }

        public Criteria andSmsMsgidEqualTo(String value) {
            addCriterion("sms_msgid =", value, "smsMsgid");
            return (Criteria) this;
        }

        public Criteria andSmsMsgidNotEqualTo(String value) {
            addCriterion("sms_msgid <>", value, "smsMsgid");
            return (Criteria) this;
        }

        public Criteria andSmsMsgidGreaterThan(String value) {
            addCriterion("sms_msgid >", value, "smsMsgid");
            return (Criteria) this;
        }

        public Criteria andSmsMsgidGreaterThanOrEqualTo(String value) {
            addCriterion("sms_msgid >=", value, "smsMsgid");
            return (Criteria) this;
        }

        public Criteria andSmsMsgidLessThan(String value) {
            addCriterion("sms_msgid <", value, "smsMsgid");
            return (Criteria) this;
        }

        public Criteria andSmsMsgidLessThanOrEqualTo(String value) {
            addCriterion("sms_msgid <=", value, "smsMsgid");
            return (Criteria) this;
        }

        public Criteria andSmsMsgidLike(String value) {
            addCriterion("sms_msgid like", value, "smsMsgid");
            return (Criteria) this;
        }

        public Criteria andSmsMsgidNotLike(String value) {
            addCriterion("sms_msgid not like", value, "smsMsgid");
            return (Criteria) this;
        }

        public Criteria andSmsMsgidIn(List<String> values) {
            addCriterion("sms_msgid in", values, "smsMsgid");
            return (Criteria) this;
        }

        public Criteria andSmsMsgidNotIn(List<String> values) {
            addCriterion("sms_msgid not in", values, "smsMsgid");
            return (Criteria) this;
        }

        public Criteria andSmsMsgidBetween(String value1, String value2) {
            addCriterion("sms_msgid between", value1, value2, "smsMsgid");
            return (Criteria) this;
        }

        public Criteria andSmsMsgidNotBetween(String value1, String value2) {
            addCriterion("sms_msgid not between", value1, value2, "smsMsgid");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeIsNull() {
            addCriterion("device_type is null");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeIsNotNull() {
            addCriterion("device_type is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeEqualTo(Integer value) {
            addCriterion("device_type =", value, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeNotEqualTo(Integer value) {
            addCriterion("device_type <>", value, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeGreaterThan(Integer value) {
            addCriterion("device_type >", value, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("device_type >=", value, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeLessThan(Integer value) {
            addCriterion("device_type <", value, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeLessThanOrEqualTo(Integer value) {
            addCriterion("device_type <=", value, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeIn(List<Integer> values) {
            addCriterion("device_type in", values, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeNotIn(List<Integer> values) {
            addCriterion("device_type not in", values, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeBetween(Integer value1, Integer value2) {
            addCriterion("device_type between", value1, value2, "deviceType");
            return (Criteria) this;
        }

        public Criteria andDeviceTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("device_type not between", value1, value2, "deviceType");
            return (Criteria) this;
        }

        public Criteria andGhostPhoneIsNull() {
            addCriterion("ghost_phone is null");
            return (Criteria) this;
        }

        public Criteria andGhostPhoneIsNotNull() {
            addCriterion("ghost_phone is not null");
            return (Criteria) this;
        }

        public Criteria andGhostPhoneEqualTo(String value) {
            addCriterion("ghost_phone =", value, "ghostPhone");
            return (Criteria) this;
        }

        public Criteria andGhostPhoneNotEqualTo(String value) {
            addCriterion("ghost_phone <>", value, "ghostPhone");
            return (Criteria) this;
        }

        public Criteria andGhostPhoneGreaterThan(String value) {
            addCriterion("ghost_phone >", value, "ghostPhone");
            return (Criteria) this;
        }

        public Criteria andGhostPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("ghost_phone >=", value, "ghostPhone");
            return (Criteria) this;
        }

        public Criteria andGhostPhoneLessThan(String value) {
            addCriterion("ghost_phone <", value, "ghostPhone");
            return (Criteria) this;
        }

        public Criteria andGhostPhoneLessThanOrEqualTo(String value) {
            addCriterion("ghost_phone <=", value, "ghostPhone");
            return (Criteria) this;
        }

        public Criteria andGhostPhoneLike(String value) {
            addCriterion("ghost_phone like", value, "ghostPhone");
            return (Criteria) this;
        }

        public Criteria andGhostPhoneNotLike(String value) {
            addCriterion("ghost_phone not like", value, "ghostPhone");
            return (Criteria) this;
        }

        public Criteria andGhostPhoneIn(List<String> values) {
            addCriterion("ghost_phone in", values, "ghostPhone");
            return (Criteria) this;
        }

        public Criteria andGhostPhoneNotIn(List<String> values) {
            addCriterion("ghost_phone not in", values, "ghostPhone");
            return (Criteria) this;
        }

        public Criteria andGhostPhoneBetween(String value1, String value2) {
            addCriterion("ghost_phone between", value1, value2, "ghostPhone");
            return (Criteria) this;
        }

        public Criteria andGhostPhoneNotBetween(String value1, String value2) {
            addCriterion("ghost_phone not between", value1, value2, "ghostPhone");
            return (Criteria) this;
        }

        public Criteria andAddTimeIsNull() {
            addCriterion("add_time is null");
            return (Criteria) this;
        }

        public Criteria andAddTimeIsNotNull() {
            addCriterion("add_time is not null");
            return (Criteria) this;
        }

        public Criteria andAddTimeEqualTo(Date value) {
            addCriterion("add_time =", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotEqualTo(Date value) {
            addCriterion("add_time <>", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThan(Date value) {
            addCriterion("add_time >", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("add_time >=", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThan(Date value) {
            addCriterion("add_time <", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThanOrEqualTo(Date value) {
            addCriterion("add_time <=", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeIn(List<Date> values) {
            addCriterion("add_time in", values, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotIn(List<Date> values) {
            addCriterion("add_time not in", values, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeBetween(Date value1, Date value2) {
            addCriterion("add_time between", value1, value2, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotBetween(Date value1, Date value2) {
            addCriterion("add_time not between", value1, value2, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddUserIdIsNull() {
            addCriterion("add_user_id is null");
            return (Criteria) this;
        }

        public Criteria andAddUserIdIsNotNull() {
            addCriterion("add_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andAddUserIdEqualTo(Long value) {
            addCriterion("add_user_id =", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdNotEqualTo(Long value) {
            addCriterion("add_user_id <>", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdGreaterThan(Long value) {
            addCriterion("add_user_id >", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("add_user_id >=", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdLessThan(Long value) {
            addCriterion("add_user_id <", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdLessThanOrEqualTo(Long value) {
            addCriterion("add_user_id <=", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdIn(List<Long> values) {
            addCriterion("add_user_id in", values, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdNotIn(List<Long> values) {
            addCriterion("add_user_id not in", values, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdBetween(Long value1, Long value2) {
            addCriterion("add_user_id between", value1, value2, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdNotBetween(Long value1, Long value2) {
            addCriterion("add_user_id not between", value1, value2, "addUserId");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIsNull() {
            addCriterion("modify_time is null");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIsNotNull() {
            addCriterion("modify_time is not null");
            return (Criteria) this;
        }

        public Criteria andModifyTimeEqualTo(Date value) {
            addCriterion("modify_time =", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotEqualTo(Date value) {
            addCriterion("modify_time <>", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeGreaterThan(Date value) {
            addCriterion("modify_time >", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("modify_time >=", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeLessThan(Date value) {
            addCriterion("modify_time <", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeLessThanOrEqualTo(Date value) {
            addCriterion("modify_time <=", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIn(List<Date> values) {
            addCriterion("modify_time in", values, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotIn(List<Date> values) {
            addCriterion("modify_time not in", values, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeBetween(Date value1, Date value2) {
            addCriterion("modify_time between", value1, value2, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotBetween(Date value1, Date value2) {
            addCriterion("modify_time not between", value1, value2, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyUserIdIsNull() {
            addCriterion("modify_user_id is null");
            return (Criteria) this;
        }

        public Criteria andModifyUserIdIsNotNull() {
            addCriterion("modify_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andModifyUserIdEqualTo(Long value) {
            addCriterion("modify_user_id =", value, "modifyUserId");
            return (Criteria) this;
        }

        public Criteria andModifyUserIdNotEqualTo(Long value) {
            addCriterion("modify_user_id <>", value, "modifyUserId");
            return (Criteria) this;
        }

        public Criteria andModifyUserIdGreaterThan(Long value) {
            addCriterion("modify_user_id >", value, "modifyUserId");
            return (Criteria) this;
        }

        public Criteria andModifyUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("modify_user_id >=", value, "modifyUserId");
            return (Criteria) this;
        }

        public Criteria andModifyUserIdLessThan(Long value) {
            addCriterion("modify_user_id <", value, "modifyUserId");
            return (Criteria) this;
        }

        public Criteria andModifyUserIdLessThanOrEqualTo(Long value) {
            addCriterion("modify_user_id <=", value, "modifyUserId");
            return (Criteria) this;
        }

        public Criteria andModifyUserIdIn(List<Long> values) {
            addCriterion("modify_user_id in", values, "modifyUserId");
            return (Criteria) this;
        }

        public Criteria andModifyUserIdNotIn(List<Long> values) {
            addCriterion("modify_user_id not in", values, "modifyUserId");
            return (Criteria) this;
        }

        public Criteria andModifyUserIdBetween(Long value1, Long value2) {
            addCriterion("modify_user_id between", value1, value2, "modifyUserId");
            return (Criteria) this;
        }

        public Criteria andModifyUserIdNotBetween(Long value1, Long value2) {
            addCriterion("modify_user_id not between", value1, value2, "modifyUserId");
            return (Criteria) this;
        }

        public Criteria andInterestCouponIsNull() {
            addCriterion("interest_coupon is null");
            return (Criteria) this;
        }

        public Criteria andInterestCouponIsNotNull() {
            addCriterion("interest_coupon is not null");
            return (Criteria) this;
        }

        public Criteria andInterestCouponEqualTo(BigDecimal value) {
            addCriterion("interest_coupon =", value, "interestCoupon");
            return (Criteria) this;
        }

        public Criteria andInterestCouponNotEqualTo(BigDecimal value) {
            addCriterion("interest_coupon <>", value, "interestCoupon");
            return (Criteria) this;
        }

        public Criteria andInterestCouponGreaterThan(BigDecimal value) {
            addCriterion("interest_coupon >", value, "interestCoupon");
            return (Criteria) this;
        }

        public Criteria andInterestCouponGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("interest_coupon >=", value, "interestCoupon");
            return (Criteria) this;
        }

        public Criteria andInterestCouponLessThan(BigDecimal value) {
            addCriterion("interest_coupon <", value, "interestCoupon");
            return (Criteria) this;
        }

        public Criteria andInterestCouponLessThanOrEqualTo(BigDecimal value) {
            addCriterion("interest_coupon <=", value, "interestCoupon");
            return (Criteria) this;
        }

        public Criteria andInterestCouponIn(List<BigDecimal> values) {
            addCriterion("interest_coupon in", values, "interestCoupon");
            return (Criteria) this;
        }

        public Criteria andInterestCouponNotIn(List<BigDecimal> values) {
            addCriterion("interest_coupon not in", values, "interestCoupon");
            return (Criteria) this;
        }

        public Criteria andInterestCouponBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("interest_coupon between", value1, value2, "interestCoupon");
            return (Criteria) this;
        }

        public Criteria andInterestCouponNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("interest_coupon not between", value1, value2, "interestCoupon");
            return (Criteria) this;
        }

        public Criteria andMarkIsNull() {
            addCriterion("mark is null");
            return (Criteria) this;
        }

        public Criteria andMarkIsNotNull() {
            addCriterion("mark is not null");
            return (Criteria) this;
        }

        public Criteria andMarkEqualTo(Boolean value) {
            addCriterion("mark =", value, "mark");
            return (Criteria) this;
        }

        public Criteria andMarkNotEqualTo(Boolean value) {
            addCriterion("mark <>", value, "mark");
            return (Criteria) this;
        }

        public Criteria andMarkGreaterThan(Boolean value) {
            addCriterion("mark >", value, "mark");
            return (Criteria) this;
        }

        public Criteria andMarkGreaterThanOrEqualTo(Boolean value) {
            addCriterion("mark >=", value, "mark");
            return (Criteria) this;
        }

        public Criteria andMarkLessThan(Boolean value) {
            addCriterion("mark <", value, "mark");
            return (Criteria) this;
        }

        public Criteria andMarkLessThanOrEqualTo(Boolean value) {
            addCriterion("mark <=", value, "mark");
            return (Criteria) this;
        }

        public Criteria andMarkIn(List<Boolean> values) {
            addCriterion("mark in", values, "mark");
            return (Criteria) this;
        }

        public Criteria andMarkNotIn(List<Boolean> values) {
            addCriterion("mark not in", values, "mark");
            return (Criteria) this;
        }

        public Criteria andMarkBetween(Boolean value1, Boolean value2) {
            addCriterion("mark between", value1, value2, "mark");
            return (Criteria) this;
        }

        public Criteria andMarkNotBetween(Boolean value1, Boolean value2) {
            addCriterion("mark not between", value1, value2, "mark");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}